﻿@model PagedList.IPagedList<CP_SchoolForChildren_v0._1.Models.RelatedModel.SeachSchoolModel>

@{
    ViewBag.Title = "Kết quả tìm kiếm";
    Layout = "~/Views/Shared/FE/_Layout_FE_Index.cshtml";
    double userEducation = ViewBag.userEducation;
}
    <script src="../../Scripts/FE/jquery.unobtrusive-ajax.js" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/FE/style/SchoolStyle2.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/FE/Addition.css")" rel="stylesheet" type="text/css" />
    <script src='@Url.Content("~/Scripts/FE/jquery.unobtrusive-ajax.js")' type="text/javascript"></script>
<style type="text/css">
    #sort-div {
        padding: 10px;
        line-height: 20px;
        border-bottom: 1px dotted rgba(119, 79, 56, 0.4);
    }
    #sort-div h2 {
        margin-bottom: 10px;
    }
    #sort-div span {
        padding-left: 5px;
    }
    #sort-div span a {
        font-weight: normal;
    }
    #sort-div span a:hover {
        font-weight: bold;
    }
    .sperator {
        border-right: 1px solid rgba(119, 79, 56, 0.4);
        padding-left: 3px;
        padding-right: 3px;
        width: 10px;
    }
    #sort-div span.sort-active a {
        font-weight: bold;
    }
    #CityID, #DistrictID, #SchoolTypeID, #Fee {
        background: none repeat scroll 0 0 padding-box rgba(255, 255, 255, 0.9);
        border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2);
        border-image: none;
        border-radius: 2.5px 0 0 2.5px;
        border-style: solid;
        border-width: 1px;
        box-shadow: 0 1px 0 rgba(8, 22, 37, 0.02) inset, 0 0 2px rgba(8, 22, 37, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.2);
        padding: 5px 8px;
        width: 260px;
        margin: 15px;
        margin-bottom: 0px;
    }
    #ListService {
        line-height: 28px;
        padding: 5px 8px;
        width: 260px;
        height: 150px;
        overflow: auto;
        margin: 15px;
        border: 1px solid;
        border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2);
    }
</style>

<div class="allhome" style="padding-top: 15px;">
    @Html.Partial("SearchResultBox")

    @Html.Partial("SuggestResult")
</div>
<script type="text/javascript">
    $(document).ready(function() {
        var value = @ViewBag.userQuality;
        var list = $('.userQuality');
            for(var tmpList = 0; tmpList< list.length; tmpList++) {
               if(list[tmpList].val == value) {
                    
                    list[tmpList].checked = true;
                }
            }
        
    });
</script>